package com.security.dataprocess.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 监测因子字典
 * </p>
 *
 * @author H
 * @since 2022-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AlarmIndicatorFactor对象", description="监测因子字典")
public class AlarmIndicatorFactor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "监测因子类型编码")
    private String indicatorTypeCode;

    @ApiModelProperty(value = "监测因子编码")
    private String code;

    @ApiModelProperty(value = "cas号")
    private String casNo;

    @ApiModelProperty(value = "监测因子名称")
    private String name;

    @ApiModelProperty(value = "序号")
    private Integer sortId;


    public AlarmIndicatorFactor(String name) {
        this.name = name;
    }
}
